/*
 * Copyright 2018 JDCLOUD.COM
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *    http:#www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
 * 
 * 
 *
 * 
 * Contact: 
 *
 * NOTE: This class is auto generated by the jdcloud code generator program.
 */


using System;
using System.Collections.Generic;
using System.Text;


namespace JDCloudSDK.Smartdba.Model
{

    /// <summary>
    ///  deadLockDetail
    /// </summary>
    public class DeadLockDetail
    {

        ///<summary>
        /// 事务标记名称
        ///</summary>
        public string TrxName{ get; set; }
        ///<summary>
        /// Session ID
        ///</summary>
        public string SessionId{ get; set; }
        ///<summary>
        /// 请求类型
        ///</summary>
        public string QueryType{ get; set; }
        ///<summary>
        /// 事务id
        ///</summary>
        public string TrxId{ get; set; }
        ///<summary>
        /// 访问来源host
        ///</summary>
        public string Host{ get; set; }
        ///<summary>
        /// 涉及表名
        ///</summary>
        public string TableName{ get; set; }
        ///<summary>
        /// 等待锁
        ///</summary>
        public string WaitLock{ get; set; }
        ///<summary>
        /// 等待锁索引名
        ///</summary>
        public string WaitLockIndex{ get; set; }
        ///<summary>
        /// 等待锁类型
        ///</summary>
        public string WaitLockType{ get; set; }
        ///<summary>
        /// 持有锁
        ///</summary>
        public string HoldLock{ get; set; }
        ///<summary>
        /// 持有锁索引名
        ///</summary>
        public string HoldLockIndex{ get; set; }
        ///<summary>
        /// 持有锁类型
        ///</summary>
        public string HoldLockType{ get; set; }
        ///<summary>
        /// 事务SQL
        ///</summary>
        public string TrxSql{ get; set; }
    }
}
